/**
 * @Author: 焦质晔
 * @Date: 2019/6/20
 * @Last Modified by: max.jianhua
 * @Last Modified time: 2020-11-20 15:21:28
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 事业部部长审批(OEM)
// 分页查询 /ttFiTripartiteApply/page3
export const queryList = (params) => axios.post(`${SERVER.WHOLESALES}/ttFiTripartiteApply/page3`, params)

// 数据查询GET /ttFiTripartiteApply/selectSubmit3
export const selectData = (params) => axios.get(`${SERVER.WHOLESALES}/ttFiTripartiteApply/selectSubmit3`, {
  params
})

// 查询明细  GET /ttFiTripartiteApply/selectSubmit3?id=主键id
export const getDetailById = (id) => axios.get(`${SERVER.WHOLESALES}/ttFiTripartiteApply/selectSubmit3?id=${id}`)


// 审批通过POST /ttFiTripartiteApply/submit3
export const ministerSubmit = (params) => axios.post(`${SERVER.WHOLESALES}/ttFiTripartiteApply/submit3`, params)

// 审批驳回GET /ttFiTripartiteApply/reject3
export const ministerReject = (params) => axios.post(`${SERVER.WHOLESALES}/ttFiTripartiteApply/reject3`, params)
